<!-- -->
<template>
  <div id='payment'>
      <com-head>详情</com-head>
      <div class="content">
        <div class="mes" v-html="message"></div>
      </div>
      <com-foot :select="5"></com-foot>
  </div>
</template>

<script>
export default {
  name: 'payment',
  data () {
    return {
      message: '',
      // title: ''
    };
  },
  mounted () {
      // 请求精品二串一
			this.getdetail(); 
    
  },
  methods: {
    getdetail () {
      this.axios.post('News/jingpin')
      .then(({data}) => {
        console.log(data);
        this.message = data.news.content;
      })
      .catch(function(error) {
        console.log(error);
      });
    },
  }
}

</script>

<style lang='scss' scoped>
  #payment {
    padding-top: 67px;
    background: white;
    .content {
      width: 100%;
      overflow: hidden;
      padding: 10px;
      box-sizing: border-box;
      // .mes >>> img {
      //    width: 100%; 
      // }
      // .mes  >>>  p {
      //    color: red;
      // } 
    }
  }
</style>